namespace InsuranceCompany {
  export interface SearchForm extends Base.Pagination {
    createTimeList: string[];
    agentIdList: string[];
    idList: string[];
    channelIdList: string[];
    unitList: string[];
  }
  export type ListRows = {
    id: string;
    [propName: string]: any;
  };
  export interface AddForm {
    carrier: string;
    carrierCode: string;
  }

  export interface editForm {
    name: string;
    agentIdList: string[];
    goodLimitResList: { countryId: string; goodValueLimit: number; channelIdList: string[]; goodLimitUnit: string }[];
    id: string;
  }

  export interface ChannelOptsType {
    goodValueLimit: number;
    countryId: string;
    countryName?: string;
    channelIdList: string[];

    goodLimitUnit: string;
    channelOpts?: {
      label: string;
      value: string;
      children: {
        label: string;
        value: string;
        disabled: boolean;
        createBy: string;
        createName: string;
        createTime: string;
        updateBy: string;
        updateName: string;
        updateTime: string;
        id: string;
        channelName: string;
        deliveryType: string;
        taxPaymentMethod: string;
        expressCompany: string;
        channelAllocation: string;
        transportType: string;
        customsDeclarationMethod: string;
        currency: string;
        countingRatio: number;
        multipleWeightingMethod: string;
        densityRatio: number;
        minAverageSettlementWeight: number;
        volumeCalculateRule: string;
        weightCalculateRule: string;
        weightCalculationMethod: string;
        splitFoamRatio: number;
        minBoxCalculateWeight: number;
        minBatchBalanceWeight: number;
        batchBalanceCalculateRule: string;
        status: number;
        poNumber: number;
        tenantId: string;
        waybillPrefix: string;
        outWarehouseId: object;
        agentChannelName: object;
        agentChannelId: object;
        pushOrdersType: object;
        disable: object;
      }[];
    }[];
  }
}
